+2001-09-20 Havoc Pennington <hp@pobox.com>
+
+ * configure.in (PANGO_REQUIRED_VERSION)
+ (ATK_REQUIRED_VERSION): add variables and checks for specific
+ versions of dependencies. Previously we didn't verify the
+ Pango or ATk versions.
+
+2001-09-09 Havoc Pennington <hp@pobox.com>
+
+ * gtk/gtktextiter.c: fool with indentation
+ (gtk_text_iter_in_range): add g_return_if_fail
+
Thu Sep 20 17:45:54 2001 Joshua N Pritikin <vishnu@pobox.com>
* gtk/gtktextbuffer.c (gtk_text_buffer_create_tag): Fix
+2001-09-20 Havoc Pennington <hp@pobox.com>
+
+ * configure.in (PANGO_REQUIRED_VERSION)
+ (ATK_REQUIRED_VERSION): add variables and checks for specific
+ versions of dependencies. Previously we didn't verify the
+ Pango or ATk versions.
+
+2001-09-09 Havoc Pennington <hp@pobox.com>
+
+ * gtk/gtktextiter.c: fool with indentation
+ (gtk_text_iter_in_range): add g_return_if_fail
+
Thu Sep 20 17:45:54 2001 Joshua N Pritikin <vishnu@pobox.com>
* gtk/gtktextbuffer.c (gtk_text_buffer_create_tag): Fix
+2001-09-20 Havoc Pennington <hp@pobox.com>
+
+ * configure.in (PANGO_REQUIRED_VERSION)
+ (ATK_REQUIRED_VERSION): add variables and checks for specific
+ versions of dependencies. Previously we didn't verify the
+ Pango or ATk versions.
+
+2001-09-09 Havoc Pennington <hp@pobox.com>
+
+ * gtk/gtktextiter.c: fool with indentation
+ (gtk_text_iter_in_range): add g_return_if_fail
+
Thu Sep 20 17:45:54 2001 Joshua N Pritikin <vishnu@pobox.com>
* gtk/gtktextbuffer.c (gtk_text_buffer_create_tag): Fix
+2001-09-20 Havoc Pennington <hp@pobox.com>
+
+ * configure.in (PANGO_REQUIRED_VERSION)
+ (ATK_REQUIRED_VERSION): add variables and checks for specific
+ versions of dependencies. Previously we didn't verify the
+ Pango or ATk versions.
+
+2001-09-09 Havoc Pennington <hp@pobox.com>
+
+ * gtk/gtktextiter.c: fool with indentation
+ (gtk_text_iter_in_range): add g_return_if_fail
+
Thu Sep 20 17:45:54 2001 Joshua N Pritikin <vishnu@pobox.com>
* gtk/gtktextbuffer.c (gtk_text_buffer_create_tag): Fix
+2001-09-20 Havoc Pennington <hp@pobox.com>
+
+ * configure.in (PANGO_REQUIRED_VERSION)
+ (ATK_REQUIRED_VERSION): add variables and checks for specific
+ versions of dependencies. Previously we didn't verify the
+ Pango or ATk versions.
+
+2001-09-09 Havoc Pennington <hp@pobox.com>
+
+ * gtk/gtktextiter.c: fool with indentation
+ (gtk_text_iter_in_range): add g_return_if_fail
+
Thu Sep 20 17:45:54 2001 Joshua N Pritikin <vishnu@pobox.com>
* gtk/gtktextbuffer.c (gtk_text_buffer_create_tag): Fix
+2001-09-20 Havoc Pennington <hp@pobox.com>
+
+ * configure.in (PANGO_REQUIRED_VERSION)
+ (ATK_REQUIRED_VERSION): add variables and checks for specific
+ versions of dependencies. Previously we didn't verify the
+ Pango or ATk versions.
+
+2001-09-09 Havoc Pennington <hp@pobox.com>
+
+ * gtk/gtktextiter.c: fool with indentation
+ (gtk_text_iter_in_range): add g_return_if_fail
+
Thu Sep 20 17:45:54 2001 Joshua N Pritikin <vishnu@pobox.com>
* gtk/gtktextbuffer.c (gtk_text_buffer_create_tag): Fix
+2001-09-20 Havoc Pennington <hp@pobox.com>
+
+ * configure.in (PANGO_REQUIRED_VERSION)
+ (ATK_REQUIRED_VERSION): add variables and checks for specific
+ versions of dependencies. Previously we didn't verify the
+ Pango or ATk versions.
+
+2001-09-09 Havoc Pennington <hp@pobox.com>
+
+ * gtk/gtktextiter.c: fool with indentation
+ (gtk_text_iter_in_range): add g_return_if_fail
+
Thu Sep 20 17:45:54 2001 Joshua N Pritikin <vishnu@pobox.com>
* gtk/gtktextbuffer.c (gtk_text_buffer_create_tag): Fix
AC_SUBST(GDK_PIXBUF_MICRO)
AC_SUBST(GDK_PIXBUF_VERSION)
+## Versions of dependencies
+GLIB_REQUIRED_VERSION=1.3.8
+PANGO_REQUIRED_VERSION=0.19
+ATK_REQUIRED_VERSION=0.4
+
# For automake.
VERSION=$GTK_VERSION
PACKAGE=gtk+
# Honor aclocal flags
ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
+## Initial sanity check, done here so that users get told they
+## have the wrong dependencies as early in the process as possible.
+## Later on we actually use the cflags/libs from separate pkg-config
+## calls. Oh, also the later pkg-config calls don't include
+## the version requirements since those make the module lists
+## annoying to construct
+PKG_CHECK_MODULES(BASE_DEPENDENCIES, glib-2.0 >= $GLIB_REQUIRED_VERSION atk >= $ATK_REQUIRED_VERSION pango >= $PANGO_REQUIRED_VERSION)
+
# libtool option to control which symbols are exported
# right now, symbols starting with _ are not exported
LIBTOOL_EXPORT_OPTIONS='-export-symbols-regex "^[[^_]].*"'
#
GLIB_PACKAGES="gobject-2.0 gmodule-2.0"
-GLIB_REQUIRED_VERSION=1.3.8
AM_PATH_GLIB_2_0($GLIB_REQUIRED_VERSION, :,
AC_MSG_ERROR([
@clist: The #GtkCList widget to check.
-<!-- ##### MACRO GTK_HAVE_CONTAINER_FOCUS_ADJUSTMENTS ##### -->
-<para>
-
-</para>
-
-
<!-- ##### MACRO GTK_ICON_SIZE_BUTTON ##### -->
<para>
@show_toggle_indicator: unused
@show_submenu_indicator: whether to show the arrow or not
-<!-- ##### MACRO gtk_notebook_set_page ##### -->
-<para>
-</para>
-
-@notebook:
-@page_num:
-
<!-- ##### FUNCTION gtk_object_arg_get ##### -->
<para>
Private function to get an argument and argument info from an object.
@pspec:
+<!-- ##### MACRO GTK_HAVE_CONTAINER_FOCUS_ADJUSTMENTS ##### -->
+<para>
+
+</para>
+
+
+
<!-- ##### MACRO gtk_container_border_width ##### -->
<para>
@Returns:
+<!-- ##### MACRO gtk_notebook_set_page ##### -->
+<para>
+</para>
+
+<!-- # Unused Parameters # -->
+@notebook:
+@page_num:
+
+
<!-- ##### FUNCTION gtk_notebook_next_page ##### -->
<para>
</para>
set = gtk_icon_set_new ();
source.pixbuf = gdk_pixbuf_new_from_stream (-1, inline_data, FALSE, NULL);
-
+
g_assert (source.pixbuf);
gtk_icon_set_add_source (set, &source);
GtkTextBTree*
_gtk_text_btree_new (GtkTextTagTable *table,
- GtkTextBuffer *buffer)
+ GtkTextBuffer *buffer)
{
GtkTextBTree *tree;
GtkTextBTreeNode *root_node;
* @start: start of range
* @end: end of range
*
- * @start and @end must be in order, unlike most text buffer
- * functions, for efficiency reasons. The function returns %TRUE if
- * @iter falls in the range [@start, @end).
+ * Checks whether @iter falls in the range [@start, @end).
+ * @start and @end must be in ascending order.
*
* Return value: %TRUE if @iter is in the range
**/
const GtkTextIter *start,
const GtkTextIter *end)
{
+ g_return_val_if_fail (iter != NULL, FALSE);
+ g_return_val_if_fail (start != NULL, FALSE);
+ g_return_val_if_fail (end != NULL, FALSE);
+ g_return_val_if_fail (gtk_text_iter_compare (start, end) <= 0, FALSE);
+
return gtk_text_iter_compare (iter, start) >= 0 &&
gtk_text_iter_compare (iter, end) < 0;
}
gboolean
_gtk_text_btree_get_iter_at_first_toggle (GtkTextBTree *tree,
- GtkTextIter *iter,
- GtkTextTag *tag)
+ GtkTextIter *iter,
+ GtkTextTag *tag)
{
GtkTextLine *line;
gboolean
_gtk_text_btree_get_iter_at_last_toggle (GtkTextBTree *tree,
- GtkTextIter *iter,
- GtkTextTag *tag)
+ GtkTextIter *iter,
+ GtkTextTag *tag)
{
g_return_val_if_fail (iter != NULL, FALSE);
g_return_val_if_fail (tree != NULL, FALSE);
gboolean
_gtk_text_btree_get_iter_at_mark_name (GtkTextBTree *tree,
- GtkTextIter *iter,
- const gchar *mark_name)
+ GtkTextIter *iter,
+ const gchar *mark_name)
{
GtkTextMark *mark;
void
_gtk_text_btree_get_iter_at_mark (GtkTextBTree *tree,
- GtkTextIter *iter,
- GtkTextMark *mark)
+ GtkTextIter *iter,
+ GtkTextMark *mark)
{
GtkTextLineSegment *seg;
void
_gtk_text_btree_get_iter_at_child_anchor (GtkTextBTree *tree,
- GtkTextIter *iter,
- GtkTextChildAnchor *anchor)
+ GtkTextIter *iter,
+ GtkTextChildAnchor *anchor)
{
GtkTextLineSegment *seg;